﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Dal;

namespace Bll
{
    public class StandBll
    {
        StandDal dal = new StandDal();
        #region 显示大图
        /// <summary>
        /// 显示大图
        /// </summary>
        /// <returns></returns>
        public List<Stand> ShowStand()
        {
            return dal.ShowStand();

        }
        #endregion

        #region 添加大图
        /// <summary>
        /// 添加大图
        /// </summary>
        /// <param name="n"></param>
        /// <returns></returns>
        public int AddStand(Stand n)
        {
            return dal.AddStand(n);
        }
        #endregion

        #region 删除主菜单
        /// <summary>
        /// 删除主菜单
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public int DelMenu(string id)
        {
            return dal.DelMenu(id);
        }

        #endregion
    }
}
